package com.kejiguan.ui.model;

import android.support.annotation.NonNull;
import android.widget.EditText;

import com.google.gson.annotations.Expose;

import java.io.Serializable;

/**
 * Created by apple on 16/4/16.
 */
public class ExhibitionNeItem implements Serializable, Comparable<ExhibitionNeItem> {

    /**
     * 展项修改后
     */
    @Expose
    private String exhibitionId;
    @Expose
    private String exhibitionAreaId;
    @Expose
    private String exhibitionName;
    @Expose
    private String exhibitionState;
    @Expose
    private String exhibitionNote;

    private String resource;

    public ExhibitionNeItem() {

    }

    public ExhibitionNeItem(String exhibitionId,String exhibitionName)
    {

        this.exhibitionId=exhibitionId;
        this.exhibitionName=exhibitionName;
    }


    public ExhibitionNeItem(@NonNull ExhibitionNeItem item) {


        this.exhibitionId = item.getExhibitionId();

        this.exhibitionAreaId = item.getExhibitionAreaId();

        this.exhibitionName = item.getExhibitionName();

        this.exhibitionState = item.getExhibitionState();

        this.exhibitionNote = item.getExhibitionNote();
    }


    public String getExhibitionId() {
        return exhibitionId;
    }

    public void setExhibitionId(String exhibitionId) {
        this.exhibitionId = exhibitionId;
    }

    public String getExhibitionAreaId() {
        return exhibitionAreaId;
    }

    public void setExhibitionAreaId(String exhibitionAreaId) {
        this.exhibitionAreaId = exhibitionAreaId;
    }

    public String getExhibitionName() {
        return exhibitionName;
    }

    public void setExhibitionName(String exhibitionName) {
        this.exhibitionName = exhibitionName;
    }

    public String getExhibitionState() {
        return exhibitionState;
    }

    public void setExhibitionState(String exhibitionState) {
        this.exhibitionState = exhibitionState;
    }

    public String getExhibitionNote() {
        return exhibitionNote;
    }

    public void setExhibitionNote(String exhibitionNote) {
        this.exhibitionNote = exhibitionNote;
    }

    @Override
    public int compareTo(ExhibitionNeItem another) {
        return this.exhibitionId.compareTo(another.getExhibitionId());
    }

    public String getResource() {
        return resource;
    }

    public void setResource(String resource) {
        this.resource = resource;
    }
}
